package com.xindacloud.sms.adapter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author author
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class SmsAgentRoute implements Serializable {

    private static final long serialVersionUID = 1575879100847L;

    /**
     * 主键
     * <p>
     * isNullAble:0
     */
    @TableId(type = IdType.AUTO)
    private Integer routeId;

    /**
     * 后台调用服务名(初始化时必须指定)
     * isNullAble:0
     */
    private String routeService;

    /**
     * 后台调用服务名BeanId(初始化时必须指定)
     * isNullAble:0
     */
    private String routeServiceBeanId;

    /**
     * isNullAble:1,defaultVal:CURRENT_TIMESTAMP
     */
    private java.time.LocalDateTime createTime;


}
